package shellSort;

import java.util.Random;

/**
 * Created by hps on 17-5-1.
 */
public class ShellSortApp {
    public static void main(String[] args) {
        int maxSize = 10;
        ArraySh arr = new ArraySh(maxSize);
        Random random = new Random(System.currentTimeMillis());
        for (int i = 0; i < maxSize; i++) {
            arr.insert(random.nextInt(100));
        }

        arr.display();
        arr.shellSort();
        arr.display();
    }
}
